<template>
  <div class="app">
    <div class="top_content">
      <div>
        <p>{{title}}</p>
        <p></p>
      </div>
      <span>火星时报</span><span>52贴</span>
    </div>
    <div class="img">
      <img
        :src="img"
        alt=""
      >
    </div>

  </div>
</template>

<script>
export default {
  props: ['title', 'img']
}
</script>

<style lang="less" scoped>
.app {
  display: flex;
  padding-right: 20/360 * 100vw;
  border-bottom: 1px solid #aaaaaa;
  justify-content: space-between;

  .img {
    display: flex;
    justify-content: center;
    align-items: center;
    img {
      width: 100/360 * 100vw;
      height: 60/360 * 100vw;
    }
  }
}
.top_content {
  padding: 20/360 * 100vw;
  div {
    p {
      font-size: 18/360 * 100vw;
    }
  }

  span {
    margin-right: 20/360 * 100vw;
    color: #817d7d;
    font-size: 14/360 * 100vw;
  }
}
</style>
